package com.hqyj.springboot.modules.account.entity;

import com.hqyj.springboot.modules.common.entity.AbstractEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "test_user_role")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRole extends AbstractEntity {
  @Column(name = "role_id",insertable = false,updatable = false)
  private long roleId;
  @Column(name="user_id",insertable = false,updatable = false)
  private long userId;



}
